using Webshop20.Domain.Customers.Services.DataTransferObjects;

namespace Webshop20.UnitTests.Builder
{
    public class BuildCustomerInformation
    {

        int customerID = 123;
        string firstName = "Hans";
        string lastName = "Mustermann";
        string street = "Musterstrasse 12";
        string postalCode = "1111";
        string city = "Musterstadt";
        string country = "Musterland";
        private string eMail = "musterman@ghjk.uu";

        private CustomerInformationDTO Build()
        {
            return new CustomerInformationDTO(customerID, firstName, lastName, street, postalCode, city, country, eMail);
        }

        public static implicit operator CustomerInformationDTO(BuildCustomerInformation builder)
        {
            return builder.Build();
        } 
    }
}